package com.fc.mall.model;

import java.io.Serializable;

import com.aliyun.oss.common.utils.DateUtil;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OmsOrderGroupBuyItem implements Serializable {
    private Long id;

    /**
     * 发起拼团ID
     *
     * @mbggenerated
     */
    private Long omsOrderGroupBuyId;

    /**
     * 会员
     *
     * @mbggenerated
     */
    private Long memberId;

    /**
     * 昵称
     *
     * @mbggenerated
     */
    private String nickname;

    /**
     * 头像
     *
     * @mbggenerated
     */
    private String icon;

    /**
     * 订单ID
     *
     * @mbggenerated
     */
    private Long orderId;

    /**
     * 创建时间
     *
     * @mbggenerated
     */
    private Integer createTime;

    private Integer status;

    private String createTimeTxt;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", omsOrderGroupBuyId=").append(omsOrderGroupBuyId);
        sb.append(", memberId=").append(memberId);
        sb.append(", nickname=").append(nickname);
        sb.append(", icon=").append(icon);
        sb.append(", orderId=").append(orderId);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}